<template>
  <footer>
    <div class="item" v-for="item in barList" :key="item.title">
      <span class="iconfont" :class="'icon-' + item.icon"></span>
      <span>{{ item.title }}</span>
    </div>
  </footer>
</template>
<script>
export default {
  data() {
    return {
      barList: [
        {
          title: "电影/影院",
          icon: "dianying",
        },
        {
          title: "视频",
          icon: "shipin",
        },
        {
          title: "小视频",
          icon: "xiaoshipinyingshi48",
        },
        {
          title: "演出",
          icon: "yanchu-xianxing2-0",
        },
        {
          title: "我的",
          icon: "wode",
        },
      ],
    };
  },
};
</script>
<style lang="less" scoped>
footer{
    position: fixed;
    width: 100%;
    height: 50px;
    left: 0;
    bottom: 0;
    border-top: 1px solid @border-color;
    font-size: @xs-font;
    display: flex;
    .item{
        flex: 1;
        .center();
        display: flex;
        flex-direction: column;
        .iconfont{
            font-size: @xl-font;
        }
    }
}
</style>
